package com.battery.dao;

import com.battery.pojo.Device;

import java.util.List;

public interface DeviceDao {
    Device selectDeviceById(int device_id);
    int insertDevice(Device device);
    int deleteDevice(int device_id);
    int updateDevice(Device device);
    List<Device> getAllDevice();
    List<Device> getDeviceByKey(String key);

}
